package com.qf.client;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.qf.pojo.resp.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 2021/11/10 0010
 * Time: 17:36
 * Description: No Description
 */
@FeignClient(name = "qf-shop-order",path = "/order",fallback = OrderClientFallBack.class)
public interface OrderClient {

@RequestMapping("/findOrderByUserId")
public BaseResp findOrderByUserId(@RequestBody Map map);
}

